package cn.seaboot.admin.store.bean;


import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.Size;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * POJO
 * UI-输入框 [t_store_input]
 *
 * @author Mr.css on 2018-6-20
 */
@Schema(description = "UI-输入框前端表单输入配置 [t_store_input] 实体类")
public class StoreInput implements Serializable {

    private static final long serialVersionUID = 6770390317489024594L;
    /**
     * ID
     */
    @NotNull
    @Size( max = 32)
    @Schema(description = "ID")
    private String id;
    /**
     * 默认值
     */
    @Size( max = 32)
    @Schema(description = "默认值")
    private String defaultValue;
    /**
     * 提示
     */
    @Size( max = 64)
    @Schema(description = "提示")
    private String placeholeder;
    /**
     * 表单ID
     */
    @Size( max = 32)
    @Schema(description = "表单ID")
    private String formId;
    /**
     * 类型
     */
    @Size( max = 32)
    @Schema(description = "类型")
    private String type;
    /**
     * 标签
     */
    @Size( max = 32)
    @Schema(description = "标签")
    private String label;
    /**
     * 标签宽度
     */
    @Schema(description = "标签宽度")
    private Double labelWidth;
    /**
     * 输入框宽度
     */
    @Schema(description = "输入框宽度")
    private Double inputWidth;
    /**
     * 栈格大小
     */
    @Schema(description = "栈格大小")
    private Double span;
    /**
     * 是否必填
     */
    @Schema(description = "是否必填")
    private Boolean require;
    /**
     * 数据字典
     */
    @Size( max = 64)
    @Schema(description = "数据字典")
    private String options;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getPlaceholeder() {
        return placeholeder;
    }

    public void setPlaceholeder(String placeholeder) {
        this.placeholeder = placeholeder;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Double getLabelWidth() {
        return labelWidth;
    }

    public void setLabelWidth(Double labelWidth) {
        this.labelWidth = labelWidth;
    }

    public Double getInputWidth() {
        return inputWidth;
    }

    public void setInputWidth(Double inputWidth) {
        this.inputWidth = inputWidth;
    }

    public Double getSpan() {
        return span;
    }

    public void setSpan(Double span) {
        this.span = span;
    }

    public Boolean getRequire() {
        return require;
    }

    public void setRequire(Boolean require) {
        this.require = require;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }
}
